package cn.wolfcode.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;

import cn.wolfcode.shop.domain.UserAddress;
import cn.wolfcode.shop.mapper.UserAddressMapper;
import cn.wolfcode.shop.service.IUserAddressService;

@Service
public class UserAddressServiceImpl implements IUserAddressService {

	@Autowired
	private UserAddressMapper userAddressMapper;

	@Override
	public UserAddress getAddressById(Long id) {
		return userAddressMapper.selectByPrimaryKey(id);
	}

}
